<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../../common/web_top.jsp" %>

<div class="bgSortScroll">
    <div class="public-bgContent" ng-init="load()">
        <div class="public-bghint">
            <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
            <i class="iconfont icon-icon-copy-copy"></i>
            <span class="calNum">筛选<span class="result">0</span>条结果</span>
        </div>
        <ul class="public-ulList set-listH" ng-show="clientShow.caozuo">
            <li>显示拥有该栏目管理权限的数据；</li>
            <li>拥有权限的管理员会显示对应的操作按钮；</li>
        </ul>
        <div style="height: 20px;"></div>
        <div class="table-scroll">
            <table class="table public-table PoInput">
                <thead>
                <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
                    <td>选择</td>
                    <%--<td ><span style="float: left;margin-left: 200px;"> 所属类型</span>
                        <span style="float: right"> 附件描述 </span>
                    </td>--%>
                    <td>姓名</td>
                    <td>身份证号</td>
                    <td>地址</td>
                    <td>操作</td>
                </tr>
                </thead>

                <tbody id="parameter_set_content"></tbody>
                <script type="x-handlebars-template" id="parameter_set_content_tpl">

                    {{#each list}}
                    <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
                        <td><input type="checkbox" name="ch_id" value="{{id}}"></td>

                        <%--<td><span style="float: left;margin-left: 200px;">  {{type_name}}</span>
                            <span style="float: right"> {{remarks}} </span>
                        </td>--%>
                        <td>{{first_party}}</td>
                        <td>{{first_party_idcard}}</td>
                        <td>{{provinceName}}{{cityName}}{{areaName}}{{first_party_address}}</td>
                        <td>
                            <%--<span ng-if="HbHr.hr206" class="_blue edit_attach" data-attr="addSection" data-type="{{type}}"
                                   data-conp="{{type_name}}" data-productid="{{product_id}}"  data-remarks="{{remarks}}"
                                   data-id="{{id}}">修改附件</span>
                             <span ng-if="HbHr.hr206" class="_red delect_attach" data-attr="addSection" data-type="{{type}}"
                                   data-conp="{{type_name}}" data-productid="{{product_id}}"  data-remarks="{{remarks}}"
                                   data-id="{{id}}">删除附件</span>--%>
                            <%--<div class="se-re sel-blue">
                                <select class="tabHint selectDelePo746 ng-not-empty" ng-change="F.selectQuery('selectDelePo746')" ng-model="selectType.default" ng-click="F.stopPropagation($event)">
                                    <option value="-1" selected="selected">修改附件</option>
                                    <!-- ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList --><!-- ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><option ng-repeat="item in operation.operationList" path="loanBefore" ng-if="item.isShow &amp;&amp; item.isShow(i.sName,HbHr,_routeId,i.role_id)" param="repayment_way:2,id:746,orderHead:orderList,nowPage:orderList" params="orderShow" data-type="1" data-item="{&quot;dptId&quot;:109,&quot;indicator&quot;:0,&quot;role_id&quot;:1,&quot;foundTime&quot;:&quot;2018-06-04 09:50:22&quot;,&quot;investigate_fee&quot;:0,&quot;id&quot;:746,&quot;interest&quot;:0,&quot;rebate&quot;:0,&quot;hand_fee&quot;:3,&quot;emergency_fee&quot;:0,&quot;before_s_id&quot;:6,&quot;hand_fee_real&quot;:6000,&quot;repayment_way&quot;:2,&quot;adminName&quot;:&quot;周青萍&quot;,&quot;pid&quot;:1040,&quot;dptName1&quot;:&quot;业务部&quot;,&quot;other_fee&quot;:0,&quot;dptName2&quot;:&quot;深圳分公司&quot;,&quot;loanNumber&quot;:&quot;FD20180604094225167&quot;,&quot;at_id&quot;:17,&quot;term&quot;:&quot;12个月&quot;,&quot;dptName&quot;:&quot;福田业务F2组&quot;,&quot;personalId&quot;:1040,&quot;personalName&quot;:&quot;杜永庆&quot;,&quot;s_id&quot;:8,&quot;applyMoney&quot;:200000,&quot;sName&quot;:&quot;区域经理审核&quot;,&quot;foundTimeStmp&quot;:1528077022187}" value="3" class=" ">查看订单</option><!-- end ngIf: item.isShow && item.isShow(i.sName,HbHr,_routeId,i.role_id) --><!-- end ngRepeat: item in operation.operationList -->
                                </select>
                                <span class="se-po-blue"></span>
                            </div>--%>
                            <button class="lender_edit tabHint" data-id="{{id}}"
                                    style="background: #29335C !important;">
                                修改出借人
                            </button>
                            <button class="delect_attach tabHint" data-id="{{id}}">
                                删除出借人
                            </button>
                        </td>
                    </tr>
                    {{/each}}
                </script>

                <%--{{#each children}}--%>

                <%--<tr class="tr11" data-type="true" data-has-child="false" data-focus="false">--%>
                <%--<td></td>--%>
                <%--<td><span class="toggle-tu"><span class="tu-1"></span><span class="tu-2"></span></span>{{name}}--%>
                <%--</td>--%>
                <%--<td><span ng-if="HbHr.hr207" class="_blue edit_parameter" data-attr="comSection" data-type="1"--%>
                <%--data-type2="{{type}}" data-id="{{id}}"  data-conp="{{name}}"  data-num="{{num}}">编辑类型</span><span ng-if="HbHr.hr208"--%>
                <%--class="second-span _red delect_parameter"--%>
                <%--data-type="1" data-type2="{{type}}"--%>
                <%--data-attr="remSection"--%>
                <%--data-id="{{id}}">删除类型</span>--%>
                <%--</td>--%>
                <%--</tr>--%>

                <%--{{/each}}--%>


                <tfoot class="public-botPage">

                <tr>


                    <td colspan="18">
                        <%--//--%>
                        <div class="public-botPage-left " style="padding-left: 15px" ng-if="operation.batch">
                            <label id="ch_id_all">
                                &nbsp;&nbsp;&nbsp;<input id="checkAllOrNot" type="checkbox" name="ch_id_all">
                                &nbsp;全选
                            </label>
                            <div class="se-re">
                                <select class="supportc ng-pristine ng-untouched ng-valid ng-not-empty all_delectList"
                                        ng-model="selectType.default" ng-change="F.selectQuery('supportc','ch_id')">
                                    <option value="-1" selected="selected">批量操作</option>
                                    <option ng-if="HbHr.hr182" value="删除" path="client" params="beBlack" class="">删除所选
                                    </option><!-- end ngIf: HbHr.hr182 -->
                                </select>
                                <span class="se-po"></span>
                            </div>

                            <button ng-if="HbHr.hr206" class=" add_attach tabHint _red" data-attr="addSection"
                                    data-type="{{type}}"
                                    data-conp="{{role_name}}"
                                    data-id="{{id}}">添加出借人
                            </button>

                        </div>
                        <%--//--%>
                        <div class="page-container lender-page-container"
                             style="float: right; padding: 15px 30px;"></div>

                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>

<%--新增弹框--%>
<div class="winBox addwinBox">
    <div class="winBox1">
        <div class="winBox3">
            <div class="dealrecord">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">出借人编辑</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->

                <div class="resultBox" style="">
                    <div class="centerBox" style="">
                        <div class="resultPadd" style="">
                            <table class="resultTab" style="margin-top: 20px">
                                <tbody style="">
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>姓名</td>
                                    <td class="only-input">
                                        <input type="text" autocomplete="off" id="name" placeholder="请输入姓名"
                                               ng-focus="remHight()" ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>身份证</td>
                                    <td class="only-input">
                                        <input style="width: 220px;" type="text" autocomplete="off" id="idCard"
                                               placeholder="请输入身份证"
                                               ng-focus="remHight()" ng-model="param.keyword"
                                               class="ng-pristine ng-valid ng-empty ng-touched">
                                    </td>
                                </tr>
                                <tr style="">
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>地址</td>
                                    <td class="public-bgDate select-tb">
                                        <span class="tdSelect">
									        <div class="se-re">
                                                <select id="province_list"
                                                        ng-options="item.ID as item.name for item in selejia1"
                                                        ng-model="data.addrProvince " ng-change="selectjia('a')"
                                                        class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                                                    <option value="" selected="selected">居住区域</option>
                                                </select>
                                                <script type="text/x-handlebars-template" id="province_list_tpl">
                                                    {{#each .}}
                                                    <option value="{{ID}}">{{name}}</option>
                                                    {{/each}}
                                                </script>
                                            </div>
                                            <select id="city_list"
                                                    ng-options="item.ID as item.name for item in selejia1"
                                                    ng-model="data.addrProvince " ng-change="selectjia('a')"
                                                    class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                                                <option value="" selected="selected">选择市</option>
                                            </select>
                                            <script type="text/x-handlebars-template" id="city_list_tpl">
                                                <option value="" selected="selected">选择市</option>
                                                {{#each .}}
                                                <option value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>
                                            <select id="area_list"
                                                    ng-options="item.ID as item.name for item in selejia1"
                                                    ng-model="data.addrProvince " ng-change="selectjia('a')"
                                                    class="ng-pristine ng-untouched ng-valid ng-empty selectjia_a">
                                                <option value="" selected="selected">选择区县</option>
                                            </select>
                                            <script type="text/x-handlebars-template" id="area_list_tpl">
                                                <option value="" selected="selected">选择区县</option>
                                                {{#each .}}
                                                <option value="{{ID}}">{{name}}</option>
                                                {{/each}}
                                            </script>
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td><span style="color: #D5332C;font-weight: bold;">*</span>具体地址</td>
                                    <td class="only-input"><input style="width: 220px;" type="text" autocomplete="off"
                                                                  id="address"
                                                                  placeholder="具体地址" ng-focus="remHight()"
                                                                  ng-model="param.keyword"
                                                                  class="ng-pristine ng-valid ng-empty ng-touched"></td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="deleFooter">
                                <div class="deleBtn">
                                    <button style="background: #E55A5B;" id="lender_add" ng-click="queding()">确定提交
                                    </button>
                                    <button style="background:white;" class="closeBox" ng-click="F.showWin('hide')">
                                        取消确定
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--删除弹框--%>
<div class="winBox delete_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 选择已有客户 -->
        <div class="winBox3 ">
            <div class="deleteBox">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">删除申请</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->
                    <div class="deleteTit">
			<span class="first">
				<i class="iconfont icon-tips2"></i>
			</span>
                        <span>您确定要删除？一旦删除信息无法恢复！</span>
                    </div>
                    <div class="beizhu"><span>*</span>备注</div>
                    <textarea ng-focus="remHight()" ng-class="{'error':redErr.remarks}" data-tag="textLength"
                              class="ng-pristine ng-valid ng-empty ng-valid-maxlength ng-touched"></textarea>
                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="sureDel">确定删除</button>
                            <button class="canDel">取消删除</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="static/js/page/set/systemSet/lenderSet/lenderSet.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>
<%@ include file="../../../common/web_bottom.jsp" %>